//
//  LFBaseTableView.m
//  AntFarms
//
//  Created by LF on 2017/2/24.
//  Copyright © 2017年 GG. All rights reserved.
//

#import "LFBaseTableView.h"

@implementation LFBaseTableView

- (instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
    self = [super initWithFrame:frame style:style];
    self.estimatedRowHeight = 0;
    self.estimatedSectionHeaderHeight = 0;
    self.estimatedSectionFooterHeight = 0;
    self.estimatedRowHeight = 0;
    if (@available(iOS 11.0, *)) {
        self.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    }
    if (iphoneX) {
        self.contentInset = UIEdgeInsetsMake(0, 0, 34, 0);
    }
    return self;
}

@end
